package com.alex.wechat.mp.welcome.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.jeecgframework.core.common.entity.IdEntity;

/**
 * 欢迎语。
 * 
 * @author Debenson
 * @since 0.1
 */
@Entity
@Table(name = "wx_welcome")
public class WxWelcomeEntity extends IdEntity {
  private static final long serialVersionUID = -3791469166009912056L;

  private String templateName;
  private String templateId;
  private String msgType;
  private String addTime;
  private String accountId;

  /**
   * 微信公众号
   * 
   * @return
   */
  @Column(name = "accountid", length = 50)
  public String getAccountId() {
    return accountId;
  }

  public void setAccountId(String accountId) {
    this.accountId = accountId;
  }

  /**
   * 模板名称
   * 
   * @return
   */
  @Column(name = "templateName", length = 128)
  public String getTemplateName() {
    return templateName;
  }

  public void setTemplateName(String templateName) {
    this.templateName = templateName;
  }

  /**
   * 模板标识
   * 
   * @return
   */
  @Column(name = "templateId", length = 50)
  public String getTemplateId() {
    return templateId;
  }

  public void setTemplateId(String templateId) {
    this.templateId = templateId;
  }

  public void setMsgType(String msgType) {
    this.msgType = msgType;
  }

  /**
   * 消息类型
   * 
   * @return
   */
  @Column(name = "msgType", length = 50)
  public String getMsgType() {
    return msgType;
  }

  /**
   * 添加时间
   * 
   * @return
   */
  @Column(name = "addTime")
  public String getAddTime() {
    return addTime;
  }

  public void setAddTime(String addTime) {
    this.addTime = addTime;
  }

}
